package com.csun.cmny.provider.service;

import com.csun.cmny.core.support.IService;
import com.csun.cmny.provider.model.domain.OmcCurTaskQueryGroup;
import com.csun.cmny.provider.model.dto.OmcCurTaskQueryDto;
import com.csun.cmny.provider.model.vo.query.CurTaskQueryVo;

import java.util.List;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2019-10-12 13:26
 * @Description:
 */
public interface OmcCurTaskQueryGroupService extends IService<OmcCurTaskQueryGroup> {

    /**
     * query cur task query group list with page
     *
     * @param omcCurTaskQueryDto    the omc cur task query dto
     *
     * @return  the list.
     */
    List<CurTaskQueryVo> queryCurTaskQueryGroupListWithPage(OmcCurTaskQueryDto omcCurTaskQueryDto);

    /**
     * query cur task query by code and  group id
     *
     * @param code      the query code
     * @param groupId   the group id
     *
     * @return  the cur task query vo
     */
    CurTaskQueryVo queryCurTaskQueryGroupByCodeAndGroupId(String code, Long groupId);

    /**
     * bind cur task query id and group id
     *
     * @param omcCurTaskQueryGroup  the omc cur task query group
     *
     * @return  the int.
     */
    Integer bind(OmcCurTaskQueryGroup omcCurTaskQueryGroup);

    /**
     * untied cur task query id and group id
     *
     * @param omcCurTaskQueryGroup  the omc cur task query group
     *
     * @return  the int.
     */
    Integer untied(OmcCurTaskQueryGroup omcCurTaskQueryGroup);
}
